<!DOCTYPE html>
<html lang="zh-hans">
<head>
  <meta charset="UTF-8">
  <title>收银台 | 更新商品</title>
  <link rel="stylesheet" href="../css/common.css">
  <link rel="stylesheet" href="../css/form.css">
</head>
<body>
  <div class="导航栏">
    <h1>收银台</h1>
    <ol>
        <li><a href="/register.html">注册账号</a></li>
        <li><a href="/login.html">切换账号</a></li>
        <li><a href="/product/create.html">上架商品</a></li>
        <li><a href="/product/list.html">浏览商品</a></li>
        <li><a href="/product/update.html">更新商品</a></li>
        <li><a href="/order/list.html">浏览订单</a></li>
        <li><a href="/order/create.html">购买商品</a></li>
    </ol>
  </div>
  <div class="功能区">
    <form method="post" action="/product/update.do">
      <label>
        <input type="text" name="productId" placeholder="商品 ID">
      </label>
      <label>
        <input type="text" name="name" placeholder="商品名称">
      </label>
      <label>
        <input type="text" name="introduce" placeholder="商品介绍">
      </label>
      <label>
        <input type="text" name="stock" placeholder="商品库存">
      </label>
      <label>
        <input type="text" name="unit" placeholder="商品单位">
      </label>
      <label>
        <input type="text" name="price" placeholder="商品价格，最小单位是分，也就是小数点后两位">
      </label>
      <label>
        <input type="text" name="discount" placeholder="商品折扣，大于 0 小于等于 100 的值">
      </label>
      <button>更新</button>
    </form>
  </div>
</body>
</html>